*{
    margin: 0;
    padding: 0;
}
table{
    border: 1px solid #E7E3E7;
    border-collapse: collapse;
}
tbody{
    background-color: #fffdee;
}
th,td{
    text-align: center;
    border-bottom: 1px solid #E7E3E7;
    padding: 10px;
}
thead,tfoot{
    tr{
        background-image: url(../images/sort_bg.png);
        background-size: cover;
        td{
            border-bottom: none;
        }
    }
}
th{
    height: 20px;
    line-height: 20px;
    font-size: 16px;
}
img{
    display: block;
    width: 100%;
    height: 100%;
}
button{
    width: 20px;
    height: 20px;
    line-height: 20px;
}
.text-right{
    text-align: right;
}
.yellow{
    color: #ff7f24;
    opacity: 0.6;
}
#app{
    width: 990px;
    margin: 0 auto;
    .title{
        margin: 10px 0;
        opacity: 0.8;
        transition: 0.5s;
    }
    .shopcart{
        font-size: 12px;
        border-top: 2px solid #ce0000;
        .img{
            position: relative;
            cursor: pointer;
            width: 82px;
            height: 82px;
            box-sizing: border-box;
            border: 1px solid #e4e4e4;
            &:hover{
                &::after{
                    position: absolute;
                    content: "";
                    left: 0;
                    top: 0;
                    background-color: #fff;
                    opacity: 0.1;
                    width: 100%;
                    height: 100%;
                }
            }
        }
        .goods-name{
            width: 396px;
        }
        .goods-info{
            width: 135px;
        }
        .orther{
            width: 92px;
        }
        .red{
            color: #e4393c;
            font-weight: bold;
        }
        .info{
            cursor: pointer;
            transition: 0.2s;
            text-align: start;
            &:hover{
                color: #e4393c;
                text-decoration: underline;
            }
        }
        .num-box{
            display: flex;
            height: 100%;
            >input{
                width: 25px;
                margin: 0 6px;
                outline: none;
                text-align: center;
            }
        }
        .btn-delete{
            cursor: pointer;
            color: #00aeec;
            transition: 0.2s;
            &:hover{
                text-decoration: underline;
            }
        }
    }
    .show-all{
        width: 100%;
        height: 200px;
        display: flex;
        justify-content: center;
        align-items: center;
        .show-svg{
            stroke: #00aeec;
            stroke-width: 1;
            stroke-dasharray: 1976;
            stroke-dashoffset: 0;
            animation: svg 8s linear forwards;
            >g{
                >path{
                    fill: transparent;
                    animation: path 1s linear forwards 1.9s;
                }
                @keyframes path {
                    from{
                        fill: transparent;
                    }to{
                        fill: #00aeec;
                        opacity: 0.6;
                    }
                }
            }
            @keyframes svg {
                from{
                    stroke-dashoffset: 1976;
                }to{
                    stroke-dashoffset: 0;
                }
            }
        }
    }
}